@(title: String , keycode: String , gid: String)
@import play.i18n._
@import helper._

<!DOCTYPE html>
<html>
    <head>
        <title>@title</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <link rel="shortcut icon" type="image/png" href="@routes.Assets.at("images/favicon.png")">
        <link rel="stylesheet" media="screen" href="@routes.Assets.at("stylesheets/jquery.mobile-1.3.2.css")">
        <script src="@routes.Assets.at("javascripts/jquery-1.9.0.min.js")" type="text/javascript"></script>
        <script src="@routes.Assets.at("javascripts/jquery.mobile-1.3.2.js")" type="text/javascript"></script>
        <script src="@routes.Assets.at("javascripts/knockout-2.2.1.js")" type="text/javascript"></script>
        <script src="@routes.Assets.at("javascripts/common_ajax.js")" type="text/javascript"></script>
        <script src="@routes.Assets.at("javascripts/common_mobile.js")" type="text/javascript"></script>
        <script type="text/javascript">
	        var _gaq = _gaq || [];
	        _gaq.push(['_setAccount', 'UA-40462744-1']);
	        _gaq.push(['_trackPageview']);

	        (function() {
	        	var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
	            ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
	            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
	        })();
		
		</script>
    </head>
    <body>
        <section id="page1" data-role="page">
		  <header data-role="header">
		  <h1>Repeat Youtube</h1>
		  <a href="#" onclick="playlist('@gid');" data-icon="back" data-iconpos="notext" data-direction="reverse">back</a>
		  </header>
		  <div data-role="content">
		  	<iframe class="youtube-player" type="text/html" width="100%" height="385px" src="http://www.youtube.com/embed/@keycode?autoplay=1" allowfullscreen frameborder="0"></iframe>
		    <p>
			    <a href="#" data-role="button" data-inline="true">@Messages.get("btn.play.all")</a>
			    <a href="#" data-role="button" data-inline="true">@Messages.get("btn.play.one")</a>
			</p>
		  </div>
		  <footer data-role="footer"><h1>team killers</h1></footer>
		</section>
    </body>
</html>
